package com.ice.chatserver.dao;

import com.ice.chatserver.pojo.FileSystem;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

/**
* @author ice2020x
* @Date: 2023/2/3
* @Description:  系统上传
**/
@Repository
public interface FileSystemRepository extends MongoRepository<FileSystem, String> {
    /**
     * 根据用户名或者code查询用户
     * @param filePath 文件路径
     */
    void deleteByFilePath(String filePath);
}